package com.th.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.th.common.annotation.Excel;
import com.th.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 us_wallet_transaction
 *
 * @author ruoyi
 * @date 2023-06-27
 */
public class UsWalletTransaction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 交易id */
    private Long id;

    /** 钱包id */
    @Excel(name = "钱包id")
    private Long walletId;

    /** 支付方式 （0钱包支付 1微信支付 2支付宝 3银行卡） */
    @Excel(name = "支付方式 ", readConverterExp = "0=钱包支付,1=微信支付,2=支付宝,3=银行卡")
    private Integer paymentMethod;

    /** 交易金额 */
    @Excel(name = "交易金额")
    private Long amountMoney;

    /** 交易款项 */
    @Excel(name = "交易款项")
    private String paymentInfo;

    /** 状态（0进行中 1完成 2错误） */
    @Excel(name = "状态", readConverterExp = "0=进行中,1=完成,2=错误")
    private Integer status;

    /** 0支出 1收入 */
    @Excel(name = "0支出 1收入")
    private Integer type;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setWalletId(Long walletId)
    {
        this.walletId = walletId;
    }

    public Long getWalletId()
    {
        return walletId;
    }
    public void setPaymentMethod(Integer paymentMethod)
    {
        this.paymentMethod = paymentMethod;
    }

    public Integer getPaymentMethod()
    {
        return paymentMethod;
    }
    public void setAmountMoney(Long amountMoney)
    {
        this.amountMoney = amountMoney;
    }

    public Long getAmountMoney()
    {
        return amountMoney;
    }
    public void setPaymentInfo(String paymentInfo)
    {
        this.paymentInfo = paymentInfo;
    }

    public String getPaymentInfo()
    {
        return paymentInfo;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("walletId", getWalletId())
                .append("paymentMethod", getPaymentMethod())
                .append("amountMoney", getAmountMoney())
                .append("createTime", getCreateTime())
                .append("paymentInfo", getPaymentInfo())
                .append("status", getStatus())
                .append("type", getType())
                .toString();
    }
}
